home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / lxopt122.zip / PRELOAD.INF (.txt) < prev    next >
OS/2 Help File  |  1997-07-01  |  18KB  |  445 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Copyright Notices  ΓòÉΓòÉΓòÉ
  3.  
  4.  Copyright Notices
  5.  
  6. Functional Software and the logo are trademarks of Functional Software Limited. 
  7.  
  8. OS/2 is a trademark of International Business Machines Corporation. 
  9.  
  10. The PRELOAD software and accompanying documentation are freeware. 
  11.  
  12. This utility may be freely copied and distributed providing each copy is 
  13. complete and unaltered.  Please see the license agreement for full details. 
  14.  
  15. Preloadable applications are optimized by LXOPT, a software development tool 
  16. from Functional Software Ltd. 
  17.  
  18.  
  19. ΓòÉΓòÉΓòÉ <hidden> LXOPT  ΓòÉΓòÉΓòÉ
  20.  
  21.  LXOPT
  22.  
  23. LXOPT is a freeware OS/2 software development tool.  By working set tuning 
  24. EXE/DLL files LXOPT will typically halve the amount of memory required to store 
  25. application code.  The instruction stream is also processed to ensure maximum 
  26. CPU instruction cache efficiency and a PRELOAD option allows the use of this 
  27. Preload Utility which transfers the application to the swapfile at machine 
  28. start-up. 
  29.  
  30. LXOPT is available as LXOPT122.ZIP at numerous internet ftp sites including 
  31. hobbes.nmsu.edu. 
  32.  
  33.  
  34. ΓòÉΓòÉΓòÉ 2. License Agreement  ΓòÉΓòÉΓòÉ
  35.  
  36.  License Agreement
  37.  
  38. Definition of terms used in this agreement 
  39. UTILITY: The PRELOAD software and accompanying documentation. 
  40. USER: You, the user of the PRELOAD software. 
  41. FSL: Us, Functional Software Limited. 
  42.  
  43. Acceptance 
  44. Use of UTILITY indicates acceptance by USER of the terms and conditions of this 
  45. agreement. 
  46.  
  47. If you do not agree to these terms and conditions you may not make use of 
  48. UTILITY and must destroy any and all installed copies of the software. 
  49.  
  50. Grant of License 
  51. The UTILITY software is copyright of Functional Software Limited.  FSL retains 
  52. ownership of UTILITY.  You are hereby granted a nonexclusive license to use 
  53. UTILITY subject to the permitted uses and restrictions contained in this 
  54. agreement. 
  55.  
  56. Permitted Uses 
  57. UTILITY may be applied to software owned or licensed by USER. 
  58.  
  59. USER may distribute copies of UTILITY on the condition that each copy is 
  60. complete and unaltered.  Each copy shall include both software and 
  61. documentation which shall include this agreement and accompanying copyright 
  62. notices. 
  63.  
  64. Restrictions 
  65. UTILITY may not be used by any person not bound by all the terms of this 
  66. agreement. 
  67.  
  68. USER may not sell or sub-license UTILITY or any part thereof other than as 
  69. described in Permitted Uses above. 
  70.  
  71. USER may not alter UTILITY. Such prohibited alterations include, but are not 
  72. limited to, the operation and appearance of the software and the text of the 
  73. documentation which shall include this agreement and accompanying copyright 
  74. notices. 
  75.  
  76. USER may not reverse compile, reverse engineer or reverse assemble any part of 
  77. the UTILITY software.  For the purposes of this agreement use of the UTILITY 
  78. software as described in the accompanying documentation shall not constitute 
  79. reverse engineering of the software. 
  80.  
  81. All rights not expressly granted by this agreement are retained by FSL. 
  82.  
  83. Limited Warranty 
  84. UTILITY will only operate with specially prepared OS/2 executables.  It is the 
  85. responsibilty of USER to assess the suitability of UTILITY within their own 
  86. computing environment.  In view of this USER assumes all liability and 
  87. responsibility for the decision to use UTILITY and any consequences thereof. 
  88.  
  89. UTILITY is supplied "AS IS", without warranty of any kind, either expressed or 
  90. implied, statutory or otherwise, including but not limited to the implied 
  91. warranties of merchantability or fitness for a particular purpose that may be 
  92. made by FSL or its software suppliers on this product.  No oral or written 
  93. information or advice given by FSL, its software suppliers, dealers, 
  94. distributors, agents or employees shall create a warranty and you cannot rely 
  95. on the correctness of any such information or advice. 
  96.  
  97. Neither FSL, its software suppliers, dealers, distributors, agents or employees 
  98. shall be liable for any direct, indirect, consequential or incidental damages. 
  99. Including but not limited to damages for loss of business profits, business 
  100. interruption or loss of business information, arising out of the use or 
  101. inability to use the software or accompanying documentation, whether or not FSL 
  102. has been advised of the possibility of such damages. 
  103.  
  104. Under no circumstances will FSL liability exceed the purchase price of the 
  105. software. 
  106.  
  107. Governing Law 
  108. This license is governed by the laws of England and USER agrees to submit to 
  109. the jurisdiction of the English courts. 
  110.  
  111. Where the local laws of USER prohibit the jurisdiction of English law, this 
  112. license will be governed by the laws of the country in which UTILITY is used. 
  113.  
  114. FSL may, at its own discretion, elect to enforce, apply and interpret the terms 
  115. of this agreement under any applicable foreign jurisdiction. 
  116.  
  117. If any provision of this agreement is unenforceable, all others shall remain in 
  118. effect. Furthermore, any such unenforceable provision shall remain and be 
  119. interpreted in its strictest sense which remains consistent with governing law. 
  120.  
  121.  
  122. ΓòÉΓòÉΓòÉ 3. Welcome to the Preload Utility!  ΓòÉΓòÉΓòÉ
  123.  
  124.  Welcome to the Preload Utility!
  125.  
  126. This utility takes specially prepared software, processes it and stores the 
  127. result in the OS/2 swap file.  Once in the swap file these applications may be 
  128. loaded much more efficiently.  By preloading software in this way you can 
  129. choose to devote more of your computers resources to your favorite 
  130. applications.  Preloaded applications will startup quicker and perform much 
  131. better in low memory conditions. 
  132.  
  133. How Is It Used? 
  134. Preload is normally used at machine start-up by issuing requests to load 
  135. specific applications.  These requests are normally placed in startup.cmd which 
  136. is executed every time OS/2 starts.  Preloading is particularly effective where 
  137. applications need to be loaded from a busy network.  See the Using PRELOAD 
  138. section for more details. 
  139.  
  140. What Can I Use It On? 
  141. The utility will only work with the EXE and DLL files of specially prepared 
  142. applications.  The developers of these applications have already used the 
  143. latest technology to ensure that their software consumes the least possible 
  144. amount of your computers memory.  This reduced memory use not only makes these 
  145. applications faster, it frees more of your computers memory for use with other 
  146. applications.  By providing you with this utility the developers have given you 
  147. the option to further increase run-time performance. 
  148.  
  149. Check the documentation of your application(s) to see if the developers provide 
  150. any special advice on the use of this utility. 
  151.  
  152. Should I Use It On Everything? 
  153. Each application you preload will add extra time to machine startup when it is 
  154. preloaded and will increase the size of your swap file.  It is up to you to 
  155. choose the applications that you are willing to devote these additional 
  156. resources to in order to increase run-time performance. 
  157.  
  158. As PRELOAD increases the use of your swap file you may need to take extra care 
  159. that the drive that contains your swap file does not run out of disk space. 
  160. See the description of the /M option for more details. 
  161.  
  162. Network Issues 
  163. If you are a user on a managed network please inform the network manager of 
  164. your use of this software.  Preloading code alters the balance of the work load 
  165. on your machine.  Network load will increase at machine startup but will be 
  166. reduced dramatically while running preloaded applications.  Using PRELOAD also 
  167. increases the desirability of larger local hard drives. 
  168.  
  169.  
  170. ΓòÉΓòÉΓòÉ 4. Using PRELOAD  ΓòÉΓòÉΓòÉ
  171.  
  172.  Using PRELOAD
  173.  
  174. Usage:    PRELOAD [options] [<exe/dll path>] [options] 
  175.  
  176.  Available options are: 
  177.           /Q             - Quiet mode (suppress copyright notice) 
  178.           /S             - Silent mode (suppress all output) 
  179.           /G:<name>      - Group name (default is exe/dll file name) 
  180.           /I             - make preload manager Invisible (remove from task 
  181.                          list) 
  182.           /V             - make preload manager Visible (add to task list) 
  183.           /U             - Unload file/group, unload ALL if none specified 
  184.           /L             - List previous active load instructions 
  185.           /W:<drvs>      - Wait for drive letters to become available. e.g. 
  186.                          /W:FGH 
  187.           /X             - unload all and eXit the preload manager 
  188.           /T:<num>       - file preload Time-out in seconds <default 120> 
  189.           /M:<num>       - set Minimum <num>Mb free swap space (default 10) 
  190.           /? or /H       - display options 
  191.  
  192.  See the various options for the syntax of some typical commands. 
  193.  
  194.  The first use of preload starts the Preload Manager.  This application manages 
  195.  the preloaded applications, loading and unloading them in response to user 
  196.  requests. 
  197.  
  198.  The manager may run normally or invisibly as the user requires, see the /V and 
  199.  /I options. 
  200.  
  201.  Preload is usually used by placing commands in startup.cmd.  Often 
  202.  applications to be preloaded are on a network drive that is inaccessible when 
  203.  startup.cmd executes.  To avoid this problem use the /W option which defers 
  204.  the preload request until the specified drives are available. 
  205.  
  206.  Users of PRELOAD must be careful to ensure that there is sufficent disk space 
  207.  to allow the swap file to store processed executables.  If your machine runs 
  208.  out of swap space some applications may refuse to run.  To help prevent this 
  209.  situation PRELOAD automatically searches for the swap file and checks 
  210.  available disk space.  If less than 10Mb is available requests to preload 
  211.  applications are denied.  You may alter this default 10Mb limit with the /M 
  212.  option. 
  213.  
  214.  
  215. ΓòÉΓòÉΓòÉ 4.1. /Q  ΓòÉΓòÉΓòÉ
  216.  
  217.  /Q
  218.  
  219. The /Q (Quiet) option prevents the display of the PRELOAD utility copyright 
  220. notice. 
  221.  
  222. See Copyright Notices and License Agreement for the list of copyright/trademark 
  223. holders and the license agreement which governs the use of this PRELOAD 
  224. utility. 
  225.  
  226.  
  227. ΓòÉΓòÉΓòÉ 4.2. /S  ΓòÉΓòÉΓòÉ
  228.  
  229.  /S
  230.  
  231. The /S (Silent) option prevents the display of the copyright notice and 
  232. messages relating to the loading of individual files. files. 
  233.  
  234. By default each file loaded is listed after the command has completed.  Specify 
  235. /S to minimise the amount of information displayed on the screen.  To prevent 
  236. only the display of the copyright notice use the /Q option. 
  237.  
  238.  
  239. ΓòÉΓòÉΓòÉ 4.3. /G  ΓòÉΓòÉΓòÉ
  240.  
  241.  /G
  242.  
  243. The /G option allows multiple applications to be referred to by a single name. 
  244.  
  245. All files are loaded into named groups.  By default the group name is the 
  246. filename derived from the pathname specified on the command line.  For example 
  247.  
  248.    PRELOAD C:\APPS\FAST_APP.EXE
  249. will preload the processed executable file FAST_APP.EXE and all processed DLLs 
  250. on which it depends.  These files are treated as a single loadable unit under 
  251. the group name FAST_APP.EXE.  Group names become useful when a user wishes to 
  252. unload all the preloaded files associated with a single product.  For example 
  253.  
  254.    PRELOAD C:\APPS\FAST_APP.EXE /G:FAST_SUITE
  255.    PRELOAD C:\APPS\FAST_SRV.EXE /G:FAST_SUITE
  256.    PRELOAD C:\APPS\FAST_WPS.DLL /G:FAST_SUITE
  257. preloads the 'FAST' application, background server and workplace shell object 
  258. DLL under the single name 'FAST_SUITE'.  To release the preload on all these 
  259. files requires just one use of the /U option. 
  260.  
  261.    PRELOAD /G:FAST_SUITE /U
  262. Group names are restricted to 12 characters. 
  263.  
  264.  
  265. ΓòÉΓòÉΓòÉ 4.4. /I  ΓòÉΓòÉΓòÉ
  266.  
  267.  /I
  268.  
  269. The /I option makes the Preload Manager program invisible. 
  270.  
  271. The preload manager window displays the progress of individual load requests. 
  272. By default this progress is also displayed on use of the preload utility. 
  273. Normally the Preload Manager is invisible.  While invisible the Preload Manager 
  274. will not appear in the task list or generate a close confirmation on shutdown. 
  275.  
  276. The preload manager is invisible by default.  Use this option to hide it again 
  277. after use of the /V option. 
  278.  
  279.  
  280. ΓòÉΓòÉΓòÉ 4.5. /V  ΓòÉΓòÉΓòÉ
  281.  
  282.  /V
  283.  
  284. The /V option makes the Preload Manager program visible. 
  285.  
  286. Normally the preload manager operates invisibly and does not appear on screen 
  287. or in the task list.  The Preload Manager displays information on the progress 
  288. of preload requests and may be terminated when visible. 
  289.  
  290. To make the Preload Manager invisible use the /I option.  The Preload Manager 
  291. may be terminated while invisible by use of /X. 
  292.  
  293.  
  294. ΓòÉΓòÉΓòÉ 4.6. /U  ΓòÉΓòÉΓòÉ
  295.  
  296.  /U
  297.  
  298. The /U option is used to tell PRELOAD to unload a previously preloaded group of 
  299. files. 
  300.  
  301. Used alone the /U option causes all preloaded files to be unloaded. 
  302.  
  303.    PRELOAD /U
  304. When used with a file name /U unloads that specific file and all others loaded 
  305. as a direct result. 
  306.  
  307.    PRELOAD BIGAPP.EXE /U
  308. BIGAPP.EXE is unloaded together with any support DLLs on which it depends. 
  309.  
  310. If you have loaded multiple files using a group name, the entire group may be 
  311. unloaded in a single command. 
  312.  
  313.    PRELOAD /G:SERVERS /U
  314. The above command will unload all applications loaded under the group name 
  315. SERVERS.  See the /G option for information on placing applications into named 
  316. groups. 
  317.  
  318. Unload requests are immediately confirmed but the unload of any active 
  319. application and release of occupied swap file space is delayed until the last 
  320. instance of the application is terminated. 
  321.  
  322.  
  323. ΓòÉΓòÉΓòÉ 4.7. /L  ΓòÉΓòÉΓòÉ
  324.  
  325.  /L
  326.  
  327. The /L option lists all active groups and the preload requests that were made 
  328. within each. 
  329.  
  330. Use /L to find out what preload requests have been made and identify which 
  331. group names are active.  Existing groups may be unloaded by the combination of 
  332. the /U and /G options. 
  333.  
  334.  
  335. ΓòÉΓòÉΓòÉ 4.8. /W  ΓòÉΓòÉΓòÉ
  336.  
  337.  /W
  338.  
  339. The /W option causes a preload request to be delayed until the supplied drive 
  340. letters are available. 
  341.  
  342. If the requested drive letters are available at the time of the command the 
  343. preload request will complete normally.  If they are not available the preload 
  344. utility reports that the request has been deferred and exits.  PRELOAD watches 
  345. silently for the drives to become available, usually this is after a network 
  346. login.  As soon as the drives are available PRELOAD will preload the files as 
  347. normal. 
  348.  
  349. If a drive letter is specified with the application to be loaded that letter is 
  350. automatically included in the list of drives to wait for. 
  351.  
  352.    PRELOAD G:\APPS\BIGAPP.EXE /W
  353. The above command will wait for the availability of drive G: before completing. 
  354.  
  355.    PRELOAD G:\APPS\BIGAPP.EXE /W:XYZ
  356. will wait for drives G:, X:, Y: and Z: to be available before attempting to 
  357. preload the application. 
  358.  
  359.  
  360. ΓòÉΓòÉΓòÉ 4.9. /X  ΓòÉΓòÉΓòÉ
  361.  
  362.  /X
  363.  
  364. Cancel all preload requests and terminate the Preload Manager. 
  365.  
  366. This command releases all preload requests and terminates all PRELOAD activity. 
  367. Applications which have been preloaded remain so until the last running copy of 
  368. the application is terminated. 
  369.  
  370. To unload specific applications see the /U parameter. 
  371.  
  372.  
  373. ΓòÉΓòÉΓòÉ 4.10. /T  ΓòÉΓòÉΓòÉ
  374.  
  375.  /T
  376.  
  377. Set time limit for PRELOAD to give up on a request to preload an application. 
  378.  
  379. When PRELOAD attempts to load an application it must wait for that application 
  380. to initialize before the request can complete.  Sometimes this initialization 
  381. may take a long time but it is also possible that it might fail due to some 
  382. software fault or hardware failure.  By default PRELOAD will wait 2 minutes 
  383. (120 seconds) for an application to initialize.  Use /T to increase this limit 
  384. if your application needs more time or to reduce it if initialisation 
  385. intermittemtly fails and you wish to speed up detection. 
  386.  
  387.    PRELOAD G:\APPS\BIGAPP.EXE /T:240
  388. The command above will wait 240 seconds (4 minutes) for the application to 
  389. initialise correctly. 
  390.  
  391. Do not confuse this option with /W  The /T timeout is designed to protect 
  392. PRELOAD against errors in loaded applications and does not take effect until 
  393. all required drives are available and a preload is attempted. 
  394.  
  395.  
  396. ΓòÉΓòÉΓòÉ 4.11. /M  ΓòÉΓòÉΓòÉ
  397.  
  398.  /M
  399.  
  400. Specify the minimum allowed free disk space on the swap file partition for a 
  401. preload request to be allowed to complete. 
  402.  
  403. PRELOAD operates by copying applications into the swapfile.  Running out of 
  404. swap file space may cause applications to fail or your machine to become 
  405. unstable.  If PRELOAD detects that space is getting low it will refuse to 
  406. preload files. 
  407.  
  408. By defaut the minimum allowed free disk space is 10Mb.  Use the /M option to 
  409. alter this limit. 
  410.  
  411.    PRELOAD G:\APPS\BIGAPP.EXE /M:50
  412. The preload request above will be refused if there is less than 50Mb free on 
  413. the swap partition. 
  414.  
  415. DO NOT use /M to reduce the required minimum free value unless you are sure 
  416. there will be sufficient free swap space available to load the application 
  417. requested and allow your machine to operate normally. 
  418.  
  419. You should always test the suitability of a preload request by typing it 
  420. manually at a command line before inserting it into startup.cmd. 
  421.  
  422.  
  423. ΓòÉΓòÉΓòÉ 4.12. /? and /H  ΓòÉΓòÉΓòÉ
  424.  
  425.  /? and /H
  426.  
  427. Display the list of PRELOAD options. 
  428.  
  429.           /Q             - Quiet mode (suppress copyright notice) 
  430.           /S             - Silent mode (suppress all output) 
  431.           /G:<name>      - Group name (default is exe/dll file name) 
  432.           /I             - Make Preload Manager invisible (remove from task 
  433.                          list) 
  434.           /V             - Make Preload Manager visible (add to task list) 
  435.           /U             - Unload file/group, unload ALL if none specified 
  436.           /L             - List previous active load instructions 
  437.           /W:<drvs>      - Wait for drive letters to become available. e.g. 
  438.                          /W:FGH 
  439.           /X             - Unload all and terminate the preload manager 
  440.           /T:<num>       - Exe load time-out in seconds <default 120> 
  441.           /M:<num>       - Deny request if below <num>Mb free swap space 
  442.                          (default 10) 
  443.           /? or /H       - Display options 
  444.  
  445.